package com.dlx.model.mem;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dlx.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author nglon
 * @since 2021-11-08
 */
@Getter
@Setter
@TableName("mem_level")
@ApiModel(value = "MemLevel对象", description = "")
public class MemLevel extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会员等级")
    @TableField("level")
    private String level;

    @ApiModelProperty("折扣")
    @TableField("discount")
    private BigDecimal discount;

    @ApiModelProperty("左区间")
    @TableField("left_interval")
    private BigDecimal leftInterval;

    @ApiModelProperty("右区间")
    @TableField("right_interval")
    private BigDecimal rightInterval;

}
